/**
 * Created with IntelliJ IDEA.
 * User: render
 * Date: 12-10-29
 * Time: 下午4:28
 * To change this template use File | Settings | File Templates.
 */

//我的扩展
//js
(function(){
    Array.prototype.p_arr = function(prop){
        var item, temp = [];
        for(var i = 0; i < this.length; i++){
            temp.push(this[i][prop]);
        }
        return temp;
    }
    Array.prototype.last = function(){
        return this.length > 1? this[this.length - 1] : null;
    }
})();


//jsfl
